import request from '@/utils/request.js'

/**
 * 用户登录
 * @param {*} user 
 */
export function login(user) {
    return request({
        url: '/user/login',
        method: 'post',
        data: user
    });
}
